package com.winit.openapi.chinapost.model;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;


/**
 * 中邮返回的xml对象
 * <Change to the actual description of this class>
 * 
 * @version 
 * <pre>
 * Author	Version		Date		Changes
 * zhengbo.huang 	1.0  		2015-4-7 	Created
 *
 * </pre>
 * @since 1.
 */
@XmlRootElement
public class TracesElement {

	/**
	 * 物流公司编号
	 */
	private String logisticProviderID;
	
	/**
	 * 邮件号码
	 */
	private String mailNos;
	
	/**
	 * 物流订单号列表
	 */
	private String txLogisticID;
	
	/**
	 * 物流订单
	 */
	private List<Trace> trace;

	public String getLogisticProviderID() {
		return logisticProviderID;
	}

	public void setLogisticProviderID(String logisticProviderID) {
		this.logisticProviderID = logisticProviderID;
	}

	public String getMailNos() {
		return mailNos;
	}

	public void setMailNos(String mailNos) {
		this.mailNos = mailNos;
	}

	public String getTxLogisticID() {
		return txLogisticID;
	}

	public void setTxLogisticID(String txLogisticID) {
		this.txLogisticID = txLogisticID;
	}

	@XmlElementWrapper(name="traces")
	@XmlElement
	public List<Trace> getTrace() {
		return trace;
	}

	public void setTrace(List<Trace> trace) {
		this.trace = trace;
	}
}
